package com.wzh.house.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wzh.common.utils.PageUtils;
import com.wzh.common.utils.Query;

import com.wzh.house.dao.NewLogDao;
import com.wzh.house.entity.NewLogEntity;
import com.wzh.house.service.NewLogService;


@Service("newLogService")
public class NewLogServiceImpl extends ServiceImpl<NewLogDao, NewLogEntity> implements NewLogService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<NewLogEntity> page = this.page(
                new Query<NewLogEntity>().getPage(params),
                new QueryWrapper<NewLogEntity>()
        );

        return new PageUtils(page);
    }

}